//
//  GFCalculateWidthOrHeigth.h
//  GoodFood
//
//  Created by dllo on 15/11/5.
//  Copyright © 2015年 荣伟峰. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface GFCalculateWidthOrHeigth : NSObject
/* 自适应宽度高度方法 */
+ (CGFloat)stringHeight:(NSString *)text withWidth:(NSInteger)wNumber withFontDictionary:(NSDictionary *)fontDic;

+ (CGFloat)stringWidth:(NSString *)text withHeigth:(NSInteger)hNumber withFontDictionary:(NSDictionary *)fontDic;
@end
